Image Generator SDK  4.22.12
The Image Generator SDK provides a library to generate QR codes and CrontoSign images
ImageGeneratorSDK Class Reference

Static Public Member Functions

static Bitmap GenerateCrontoSign (int squareSize, String inputValue)
 
static Bitmap GenerateCrontoSign (int squareSize, String inputValue, bool onPaper)
 
static Bitmap GenerateDynamicCrontoImage (int squareSize, String inputValue, bool onPaper)
 
static BWQRCodeResponse GenerateBWQRCode (int imageSize, String inputValue, int errorCorrectionLevel)
 

Static Public Attributes

const String VERSION = "4.22.12"
 

Detailed Description

The Image Generator SDK main class. It can generate a QR code or a CrontoSign image.

Member Function Documentation

◆ GenerateBWQRCode()

static BWQRCodeResponse GenerateBWQRCode ( int  imageSize,
String  inputValue,
int  errorCorrectionLevel 
)
inlinestatic

Generates a black and white QR code image

Parameters
imageSizeThe side length of the generated image. The minimum square size is ImageGeneratorSDKConstants#QRCODE_MIN_IMAGE_SIZE, and the maximum square size is ImageGeneratorSDKConstants#QRCODE_MAX_IMAGE_SIZE
inputValueThe alphanumeric string to encode. Supported values are : 0-9, A-Z (upper-case only), space, $, %, *, +, -, ., /, :
errorCorrectionLevelThe error correction level (which is ImageGeneratorSDKConstants#QRCODE_ERROR_CORRECTION_LEVEL_LOW, ImageGeneratorSDKConstants#QRCODE_ERROR_CORRECTION_LEVEL_MIDDLE, ImageGeneratorSDKConstants#QRCODE_ERROR_CORRECTION_LEVEL_QUALITY or ImageGeneratorSDKConstants#QRCODE_ERROR_CORRECTION_LEVEL_HIGH)
Returns
A BWQRCodeResponse object containing the QR code image and the associated boolean matrix
Exceptions
ImageGeneratorSDKExceptionIf an exception occured, the following error code can be thrown:

◆ GenerateCrontoSign() [1/2]

static Bitmap GenerateCrontoSign ( int  squareSize,
String  inputValue 
)
inlinestatic

Generates a CRONTO image for the corresponding input values. A scrambling is applied on the input before generating the image. The output image is to be printed on paper.

Parameters
squareSizeThe size of a CrontoSign square. The minimum square size is ImageGeneratorSDKConstants#CRONTOSIGN_MIN_SQUARE_SIZE, and the maximum square size is ImageGeneratorSDKConstants#CRONTOSIGN_MAX_SQUARE_SIZE
inputValueThe hexadecimal string to encode
Returns
The CRONTO image
Exceptions
ImageGeneratorSDKExceptionIf an exception occured, the following error code can be thrown:

◆ GenerateCrontoSign() [2/2]

static Bitmap GenerateCrontoSign ( int  squareSize,
String  inputValue,
bool  onPaper 
)
inlinestatic

Generates a CRONTO image for the corresponding input values. A scrambling is applied on the input before generating the image.

Parameters
squareSizeThe size of a CrontoSign square. The minimum square size is ImageGeneratorSDKConstants#CRONTOSIGN_MIN_SQUARE_SIZE, and the maximum square size is ImageGeneratorSDKConstants#CRONTOSIGN_MAX_SQUARE_SIZE
inputValueThe hexadecimal string to encode. The max size is ImageGeneratorSDKConstants#CRONTOSIGN_MAX_INPUT_VALUE_LENGTH
onPapertrue if and only if the image is to be printed on paper
Returns
The CRONTO image
Exceptions
ImageGeneratorSDKExceptionIf an exception occured, the following error code can be thrown:

◆ GenerateDynamicCrontoImage()

static Bitmap GenerateDynamicCrontoImage ( int  squareSize,
String  inputValue,
bool  onPaper 
)
inlinestatic

Generates a CRONTO image for the corresponding input values. The size of the image is dynamic and depends on the inputValue length. CAUTION: The CRONTO images generated with this method cannot be scanned by VASCO hardware authenticators (e.g. DP760, DP780).

Parameters
squareSizeThe size of a CrontoSign square. The minimum square size is ImageGeneratorSDKConstants#CRONTOSIGN_MIN_SQUARE_SIZE, and the maximum square size is ImageGeneratorSDKConstants#CRONTOSIGN_MAX_SQUARE_SIZE
inputValueThe hexadecimal string to encode. The max size is ImageGeneratorSDKConstants#DYNAMIC_CRONTO_IMAGE_MAX_INPUT_VALUE_LENGTH
onPapertrue if and only if the image is to be printed on paper
Returns
The CRONTO image
Exceptions
ImageGeneratorSDKExceptionIf an exception occurred, the following error code can be thrown:

Field Documentation

◆ VERSION

const String VERSION = "4.22.12"
static

Version of the Image Generator SDK


The documentation for this class was generated from the following file: